﻿using System;
using ProjScan.Tools;

namespace ProjScan.ScanRule.RuleData
{
	// Token: 0x020001B8 RID: 440
	internal class RuleDataManager : Singleton<RuleDataManager>
	{
		// Token: 0x06000E78 RID: 3704 RVA: 0x00007264 File Offset: 0x00005464
		public void Init()
		{
			this._csCheckRuleData = new CSCheckRuleData();
			this._csCheckRuleData.Init();
			this._csCheckRuleData.LoadRuleData();
		}

		// Token: 0x06000E79 RID: 3705 RVA: 0x00041EC8 File Offset: 0x000400C8
		public CSCheckRuleData GetCSCheckRuleData()
		{
			bool flag = this._csCheckRuleData == null;
			if (flag)
			{
				throw new Exception("Has not setted up");
			}
			return this._csCheckRuleData;
		}

		// Token: 0x040008DD RID: 2269
		private CSCheckRuleData _csCheckRuleData;
	}
}
